package com.trw.trp;

import java.awt.Graphics2D;
import java.awt.image.BufferedImage;

public class HelloWorld {
	public static final String RESULT = "hello.pdf";

	public static void main(String[] args) throws Exception {
		createPdf();
	}

	/**
	 * Creates a PDF document.
	 * 
	 * @param filename
	 *            the path to the new PDF document
	 * @throws DocumentException
	 * @throws IOException
	 */
	public static void createPdf() throws Exception {

	}

	private static BufferedImage resizeImage(BufferedImage originalImage, int type) {
		BufferedImage resizedImage = new BufferedImage(100, 100, type);
		Graphics2D g = resizedImage.createGraphics();
		g.drawImage(originalImage, 0, 0, 100, 100, null);
		g.dispose();

		return resizedImage;
	}
}
